<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="../js/webSocket.js"></script>
<body>
<input type="text" id="text1">
<input type="text" id="text2">
<input type="button" value="button" onclick="ws.onopen()">
<input type="button" value="button1" onclick="ws.onmessage()">
</body>
</html>